package com.simple.space.web.controller;

import com.simple.space.common.constant.Constant;
import com.simple.space.common.constant.HttpStatus;
import com.simple.space.common.constant.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiongzhenchuan
 * @date 2020/11/25 16:33
 * @description
 */
@RestController
@RequestMapping("/home")
public class HomepageController {

    @GetMapping("/list")
    public Result list() {
        return new Result(HttpStatus.HTTP_200, Constant.DEFAULT_MESSAGE);
    }

}
